<% import grails.persistence.Event %>
<%=packageName%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="\${message(code: '${domainClass.propertyName}.label', default: '${className}')}" />
        <title><g:message code="default.list.label" args="[entityName]" /></title>
      <%if (searchItems) { %>
        <filterpane:includes />
      <% } %>

    </head>
  <body>
  <div>
    <g:remoteLink  action="create" update="div_insert" after="showHideInsertDiv('div_insert')">Add \${entityName}</g:remoteLink>
  </div>
  <div id="div_insert"  class="jqInitialyHidden"></div>
  <div id="listContainer">
         <g:include action="list" />
    </div>
    </body>
</html>